<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  class="dialogStyleBase" title="选择奖励" width="500px" :visible.sync="mixinEdit_editVisible"
    :before-close="function(){cacel('editForm')}" append-to-body>
    <div v-loading="false">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">

            <LayoutCell>
                <div>
                    <el-button class="block" :class="{active : list.includes(item.name)}" v-for="(item, index) in lottery" :key="item.id" @click="select(item, index)" :disabled="type == 'select'&& item.type == 'select'">{{ item.name }}</el-button>
                </div>
            </LayoutCell>

        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="12" style="text-align: left;">
                <el-button @click="mixinEdit_resetForm('editForm')">重 置</el-button>
            </el-col>
            <el-col :span="12">
                <el-button @click="cacel('editForm')">取 消</el-button>
                <el-button type="primary" @click="sum()">确
                    定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>